/*
 * File Name: StatusBarAction.java
 * Created on: November 15, 2007, 11:52 AM
 */

package co.edu.uniandes.intercon.client.action;

import java.util.Map;

import co.edu.uniandes.intercon.client.model.StatusBarMessage;

/**
 * Action used to change the status bar visibility
 * 
 * @author Fabian Gutierrez [fagossa@gmail.com]
 */
public class StatusBarAction extends AbstractBaseGUIAction {
    
    /**
     * @see AbstractBaseGUIAction#execute(Map)
     */
    public Object execute(Map params) throws RuntimeException {
        StatusBarMessage.getInstance().setHidden((Boolean)params.get("checked"));
        
        return null;
    }
  
}
